package cn.wolfcode.service;

import cn.wolfcode.entity.Destination;
import cn.wolfcode.query.DestinationQuery;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author c1eye
 * @since 2022-11-03
 */
public interface IDestinationService extends IService<Destination> {

    List<Destination> getDestByRegionId(int rid);

    Page<Destination> queryPage(DestinationQuery destinationQuery);

    List<Destination> queryToasts(Long parentId);

    List<Destination> search(int rid);

    Destination queryByName(String keyword);
}
